package com.flame.shapeville.component.task1.shape3D;

import javafx.scene.paint.Color;
import javafx.scene.shape.Box;

/**
 * Represents a cuboid used in Task 1.
 * <p>
 * This class renders a rectangular prism with customizable dimensions.
 *
 * @author Flame Dev Team
 * @version 1.0
 * @since 2025-05-12
 */
public class JfCuboid extends JfShape3D {

    /**
     * Constructs a new cuboid with the specified size.
     *
     * @param size the overall scale of the cuboid
     */
    public JfCuboid(double size) {
        super(size);
        shape = new Box(size, size / 2, size / 2);
        initBaseParams(Color.CYAN);
    }
}
